package com.humanmonth.home.component.header
{
	import com.humanmonth.util.effect.ClickGlowEffect;
	import com.humanmonth.util.effect.PassbyEffectScale;
	
	import flash.events.Event;
	
	import mx.events.FlexEvent;
	
	public class NavButtonAs extends NavButton
	{
		public function NavButtonAs()
		{
			super();
			this.addEventListener(FlexEvent.CREATION_COMPLETE,myInit);
		}
		
		private function myInit(event:Event):void{
		this.initEffect();
		}
		
		private function initEffect():void{
		var scale:PassbyEffectScale=new PassbyEffectScale();
		var glow:ClickGlowEffect=new ClickGlowEffect();
		scale.applyEffect(this);
		glow.applyEffect(this);
		}
	}
}